//
//  PLBrowserImageView.h
//  PlatformCommon
//
//  Created by 九叶子 on 2018/7/17.
//

/*
 * 图片浏览器内单个ImageView
 */

#import <UIKit/UIKit.h>

@interface PLBrowserImageView : UIImageView <UIGestureRecognizerDelegate>

@property (nonatomic, assign) CGFloat progress;
@property (nonatomic, assign, readonly) BOOL isScaled;
@property (nonatomic, assign) BOOL hasLoadedImage;

- (void)eliminateScale; // 清除缩放

- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder;

- (void)doubleTapToZommWithScale:(CGFloat)scale;

- (void)clear;

@end
